package com.ruoyi.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 adv_membersaddr
 *
 * @author ruoyi
 * @date 2024-06-04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class AdvMembersaddr extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private Long advMembersaddrId;


    @Excel(name = "", readConverterExp = "$column.readConverterExp()")
    private Long advMembersId;


    @Excel(name = "", readConverterExp = "$column.readConverterExp()")
    private Long busAreasId;


    @Excel(name = "", readConverterExp = "$column.readConverterExp()")
    private String recvPerson;


    @Excel(name = "", readConverterExp = "$column.readConverterExp()")
    private String recvTel;


    @Excel(name = "", readConverterExp = "$column.readConverterExp()")
    private String recvAddr;

    /** 见数据字典   1 是   0 否 */
    @Excel(name = "见数据字典   1 是   0 否")
    private String recvDefault;

    private String fullPathCN; // 市区信息

    public AdvMembersaddr(Long advMembersaddrId, Long advMembersId, Long busAreasId, String recvPerson, String recvTel, String recvAddr, String recvDefault) {
        this.advMembersaddrId = advMembersaddrId;
        this.advMembersId = advMembersId;
        this.busAreasId = busAreasId;
        this.recvPerson = recvPerson;
        this.recvTel = recvTel;
        this.recvAddr = recvAddr;
        this.recvDefault = recvDefault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("advMembersaddrId", getAdvMembersaddrId())
            .append("advMembersId", getAdvMembersId())
            .append("busAreasId", getBusAreasId())
            .append("recvPerson", getRecvPerson())
            .append("recvTel", getRecvTel())
            .append("recvAddr", getRecvAddr())
            .append("recvDefault", getRecvDefault())
            .toString();
    }
}
